package com.wanxi.question.controller;

import com.wanxi.question.model.ResultModel;
import com.wanxi.question.vo.QuestionStoreVO;
import org.springframework.web.bind.annotation.*;

@RestController
@RequestMapping("/back/question")
public class QuestionController {


    /**
     * 一次查一条试题数据
     * @param questionStoreVO
     * @return
     */
    @PostMapping("/findOnlyOne")
    public ResultModel findOnlyOne(@RequestBody QuestionStoreVO questionStoreVO){
        return null;
    }

    /**
     * 查找所有试题数据
     * @param questionStoreVO
     * @return
     */
    @PostMapping("/findAll")
    public ResultModel findAll(@RequestBody QuestionStoreVO questionStoreVO){
        return null;
    }


    /**
     * 增加试题
     * @param questionStoreVO
     * @return
     */
    @PostMapping("/add")
    public ResultModel add(@RequestBody QuestionStoreVO questionStoreVO){
        return null;
    }

    /**
     * 删除试题
     * @param questionStoreVO
     * @return
     */
    @PostMapping("/delete")
    public ResultModel delete(@RequestBody QuestionStoreVO questionStoreVO){
        return null;
    }


    /**
     * 更新试题
     * @param questionStoreVO
     * @return
     */
    @PostMapping("/update")
    public ResultModel update(@RequestBody QuestionStoreVO questionStoreVO){
        return null;
    }

    /**
     * 查找所有年级
     * @param questionStoreVO
     * @return
     */
    @PostMapping("/findAllGrade")
    public ResultModel findGrade(@RequestBody QuestionStoreVO questionStoreVO){
        return null;
    }


    /**
     * 查找所有难度
     * @param questionStoreVO
     * @return
     */
    @PostMapping("/findAllDegree")
    public ResultModel findAllDegree(@RequestBody QuestionStoreVO questionStoreVO){
        return null;
    }


    /**
     * 通过id查找试题
     * @param questionStoreVO
     * @return
     */
    @PostMapping("/findById")
    public ResultModel findById(@RequestBody QuestionStoreVO questionStoreVO){
        return null;
    }

}
